Previous topicNext topic
 Link Technologies - LinkSOFT Documentation 
Help > Link Web Applications Portal > Integration > Integration Setup > Web API >
XERO
Overview

XERO uses REST API for its integration.

Refer to XERO Website for more information.

Integration modules and configurations for XERO

  1. Accounts Payable Invoice
    1. Invoices.GLAccount - GL Account used for creating Transaction.
    2. Invoices.TaxCode - Tax Code used for creating transactions. This is used where a tax code does not exist in LinkSOFT, and is required. E.g Creditor invoices from Payroll.  
  2. Accounts Payable Master
  3. Accounts Receivable Adjustment
    1. ManualJournals.TaxType - Tax Type used for creating Transaction. 
  4. Accounts Receivable Master
  5. Accounts Receivable Receipt
    1. ManualJournals.TaxType - Tax Type used for creating Transaction. 
  6. Accounts Receivable Sales Order
    1. ManualJournals.TaxType - Tax Type used for creating Transaction. 
  7. Accounts Receivable Transaction
  8. General Ledger Journals
    1. ManualJournals.TaxType - Tax Type used for creating Transaction.
  9. General Ledger Master
  10. Tax Master

Steps to configure integration to XERO:

  1. Configure the following under "XERO.API -> Authorization.oAuth2". These details are provided by your systems provider.
    1. API.Key - API key provided by your oAuth Provider. You can get the API key for XERO from this link https://developer.xero.com/myapps
      1. Users can get the key by registering an app at this link https://developer.xero.com/myapps . Refer to figure 1.
      2. Users can follow the steps to create an "OAuth2.0 app" from this link .
    2. API.Secret - API secret provided by your oAuth Provider
      1. Users need to generate the secret for the key when the app has been registered with xero as stated in 1.1.1.
      2. Make sure you save your secret somewhere secure because it will only be displayed once.
    3. API.KeySecretBase64 - API key & secret provided by your oAuth Provider in format Key:Secret
    4. RedirectURL - URL for redirection after oAuth Authorisation. Full LinkSOFT URL ending with /Framework/IntegrationAuthorisation.aspx
      1. The "Redirect URL" is defaulted to " http://localhost/LinkWEB/Framework/IntegrationAuthorisation.aspx ".
      2. Users need to update the URL with the actual Linkweb host name if it is different from the above.
      3. Once the above has been configured, users need to scroll at the bottom and click the "oAuth2 Request" button.
      4. This sends request to Xero to allow access to the identity details as per the registered app.
      5. Access is sent back to the "Redirect URL" with the verification code  which updates "Access Code" and "Access Token". This completes the xero authorization setup
  2. Enable the modules that is required for integration.

Figure 1: App Registration in Xero for Client Key and Secret.
 

Also See:

  1. Integrating XERO with Tax Monitoring System (TMS)